package top.zhangjianyong.blog.params.user;

import jakarta.validation.constraints.NotBlank;

/**
 * 修改密码参数
 *
 * @author HDN
 * @since 2024/7/19 下午9:40
 */
public record PasswordChangeParam(
    @NotBlank(message = "密码不能为空") String newPassword,
    @NotBlank(message = "旧密码不能为空") String oldPassword) {}
